package com.ygqh.baby.ao;

/**
 * 微信模板消息 （这里的title不可以修改）
 */
public enum WxMessageType {
    /**
     *
     */
    CommitSuccess(0, "订单提交成功"),
    PaySuccess(0, "订单支付成功"),
    PayInvitation(0, "订单待支付通知"),
    SmallPayInvitation(10, "订单待支付通知"),
    WaitingSign(0, "商品已发出通知"),
    Rebate(0, "返利提醒"),
    TradeSuccess(0, "订单完成通知"),
    BindIngMsg(0, "绑定通知"),
    AuditResultMsg(0, "审核结果通知"),
    AuditReturnSuccess(0, "审核通过通知"),
    InviteRegisterSuccess(0, "邀请注册成功通知"),
    GrowthFundMsg(0, "到账提醒"),
    GroupOrderRemind(0, "参团人数不足提醒"),
    GroupOrderComplete(0, "拼团成功提醒"),
    SmallGroupOrderRemind(10, "拼团待成团提醒"),
    SmallGroupOrderComplete(10, "拼团成功通知"),
    NewReview(0, "新评价通知"),
    NewAction(0, "参与活动即将开始提醒"),
    ProductService(0, "服务到期提醒"),
    CancelAgent(0, "资格取消通知"),
    OverdueReminder(0, "过期提醒"),
    OrderDispatchNotice(0, "订单派送通知"),
    OrderReceiptNotice(0, "订单签收"),
    SmallGiftReceiveSuccess(10, "礼品领取成功通知"),
    MemberUpgrade(0, "会员升级通知"),
    TodoTasks(0, "待办任务提醒"),
    ActionSuccess(0, "活动参与成功通知"),
    TailMoneyPaid(0, "尾款支付通知"),
    SmallQun(10, "社群创建成功通知"),

    // 壹家店
    OrderWaitingPay(20, "待付款提醒"),
    OrderPaySuccess(20, "付款成功通知"),
    OrderSendMsg(20, "订单发货提醒"),
    GroupOrderCompleting(20, "拼团待成团提醒"),
    GroupOrderCompleted(20, "成团提醒"),
    ReturnOrderCompleted(20, "退款通知"),
    IncomeReceipt(20, "收益到账通知"),
    InviteUserSuccess(20, "邀请成功通知"),
    BargainSuccessYJD(20, "砍价成功通知"),
    BargainProgressYJD(20, "砍价进度通知"),

    end(0, "");

    /**
     * 0:公众号模板消息
     * 10:小程序模板消息
     */
    private Integer code;
    /**
     * 状态名称
     */
    private String title;

    WxMessageType(Integer code, String title) {
        this.code = code;
        this.title = title;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
